<template>
    <div class = "user">
        <div>
            <!-- <img src="" alt=""> -->
            <p></p>
            <button ref = "button" type = "primary" open-type = "getUserInfo" @getuserinfo = "getUserInfo">点我登录</button>
        </div>
        
    </div>
</template>
<script>

export default {
    data(){
        return {
            msg: "欢迎来到用户页"
        }
    },
    onReady(){
       
    },
    onLoad(){
    },
    methods: {
        getUserInfo(res){
            console.log("当前授权信息",res);
            
        }
    }
}
</script>
<style lang = "scss" scoped>
    @import "index.scss";
</style>
